package com.maxmlr.music.service;

import com.maxmlr.music.constant.SystemConstant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class FathService implements SystemConstant {
	
	@Autowired
	private SongService songService;
	
	@Autowired
	private UserService userService;
	
	@Autowired
	private AdminService adminService;
	
	@Autowired
	private MainService mainService;
	
	/**
	 * 业务层处理接受入口
	 * @param sendMap
	 * @return
	 */
//	public  Map<String, String> fservice(Map<String, String> sendMap){
//		if (sendMap==null) {
//			throw new RuntimeException(ERRMSG);
//		}
//		Map<String, String> ret=new HashMap<String, String>();
//		if (SONG.equals(sendMap.get(SIGN))) {
//			ret=songService.fservice(sendMap);
//		}else if (SINGER.equals(sendMap.get(SIGN))) {
//			
//		}else if (SPECIAL.equals(sendMap.get(SIGN))) {
//			
//		}else if (USER.equals(sendMap.get(SIGN))) {
//			ret=userService.fservice(sendMap);
//		}else if (PICTURE.equals(sendMap.get(SIGN))) {
//			
//		}else if (ESTIMATE.equals(sendMap.get(SIGN))) {
//			
//		}else if (ADMIN.equals(sendMap.get(SIGN))) {
//			ret=adminService.fservice(sendMap);
//		}else {
//			
//		}
//		
//		return ret;
//	}
}
